|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.engine.DescriptorUtils
public final class DescriptorUtils
Utilities used by the various descriptors.
| Constructor Summary | |
|---|---|
DescriptorUtils()
|
|
| Method Summary | |
|---|---|
static boolean |
isValidImplementation(java.lang.Class type)
Returns true if the specified type is a public, concrete class with at least one public constructor. |
static boolean |
isValidImplementation(java.lang.Class type,
java.lang.Class assignableToType)
Returns true if the specified type is a public, concrete class with at least one public constructor and is assignable to the specified type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DescriptorUtils()
| Method Detail |
|---|
public static boolean isValidImplementation(java.lang.Class type)
throws java.lang.NullPointerException
type - The type to check.
java.lang.NullPointerException - If the supplied type is null.
public static boolean isValidImplementation(java.lang.Class type,
java.lang.Class assignableToType)
throws java.lang.NullPointerException
type - The type to check.assignableToType - The type the first type must be assignable to.
java.lang.NullPointerException - If the supplied type is null.
java.lang.NullPointerException - If the supplied assignable to type is
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||